package com.onlocation.observers;

import android.content.Context;
import android.net.Uri;

/**
 * Author: Steve Carrell
 * Date: 5/22/12
 */
public class MissedMsContentObserver extends AbstractCustomContentObserver {
    public static final String CLASS_NAME = MissedMsContentObserver.class.getName();

    public MissedMsContentObserver(Context context) {
        super(context);
    }

    @Override
    public String getClassName() {
        return CLASS_NAME;
    }

    @Override
    public Uri getContentUri() {
        return Uri.parse("content://mms-sms/conversations");
    }

    @Override
    public String getSelection() {
        return "type = 1 and read = 0";
    }

    @Override
    public String[] getProjection() {
        return new String[] {"_id"};
    }
}
